using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Decision.BusinessLayer.DataLayer;

namespace Decision.BusinessLayer
{
    public class ReportDecisionFactory
    {

        #region data Members

        ReportDecisionSql _dataObject = null;

        #endregion

        #region Constructor

        public ReportDecisionFactory()
        {
            _dataObject = new ReportDecisionSql();
        }

        #endregion


        #region Public Methods

        /// <summary>
        /// get data ReportDecision
        /// </summary>
        /// <param name="businessObject">ReportDecision object</param>
        /// <returns>true for successfully saved</returns>
        /// 
        public List<ReportDecision> SelectByBusinessObject(ReportDecisionCriteria value)
        {
            return _dataObject.SelectByObject(value);

        }

        #endregion

    }
}
